import {
	service
} from '@/api/request.js'

export function pageList(data) {
	return service({
		url: '/business/yhpcxx/list',
		method: 'POST',
		data
	})
}
export function detail(data) {
	return service({
		url: '/business/yhpcxx/detail',
		method: 'POST',
		data
	})
}
export function edit(data) {
	return service({
		url: '/business/yhpcxx/edit',
		method: 'POST',
		data
	})
}

export function pagefxList(data) {
	return service({
		url: '/business/sbssqd/findAll',
		method: 'POST',
		data
	})
}

/**
 * 作者: jingkewei
 * 时间: 2022/8/18 13:57
 * 描述: 分页查询隐患排查信息列表
 */
export function troubleshooting(data) {
	return service({
		url: '/business/yhpcxx/pageList',
		method: 'POST',
		data
	})
}
